﻿<Window x:Class="SaryaAccounting.AddColor"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="إضافة لون" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="414" Width="386" ResizeMode="NoResize">
    <Window.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="White" Offset="0.75" />
            <GradientStop Color="#FFA7F1A7" Offset="1" />
        </LinearGradientBrush>
    </Window.Background>
    <Grid FlowDirection="RightToLeft">
        <Grid.RowDefinitions>
            <RowDefinition Height="20" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="50" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="102" />
            <RowDefinition Height="61*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="264*" />
        </Grid.ColumnDefinitions>
        <Label Content="الرقم التسلسلي: " Height="28" HorizontalAlignment="Left" Name="lblColorID" VerticalAlignment="Top" Grid.Row="1" Margin="12,0,0,0" />
        <Label Content="اسم اللون: " Grid.Row="2" Height="28" HorizontalAlignment="Left" Margin="12,0,0,0" Name="lblColorName" VerticalAlignment="Top" />
        <Label Content="عيّنة: " Grid.Row="3" Height="28" HorizontalAlignment="Left" Margin="12,0,0,0" Name="lblSampel" VerticalAlignment="Top" />
        <Label Content="صورة اللون: " Grid.Row="4" Height="28" HorizontalAlignment="Left" Margin="12,0,0,0" Name="lblColorImage" VerticalAlignment="Top" />
        <Label Content="نوع اللون: " Grid.Row="5" Height="28" HorizontalAlignment="Left" Name="lblCategoryType" VerticalAlignment="Top" Margin="12,0,0,0" />
        <Label Content="تاريخ الإنشاء: " Grid.Row="6" Height="28" HorizontalAlignment="Left" Margin="12,0,0,0" Name="lblCreateDate" VerticalAlignment="Top" />
        <Label Content="ملاحظات: " Grid.Row="7" Height="28" HorizontalAlignment="Left" Margin="12,0,0,0" Name="lblNote" VerticalAlignment="Top" />
        <TextBox Grid.Column="1" Grid.Row="1" Height="23" Margin="0,2,12,4" Name="txtColorID" Width="252" IsReadOnly="True" VerticalAlignment="Top" />
        <TextBox Grid.Column="1" Grid.Row="2" Height="23" HorizontalAlignment="Left" Margin="0,2,0,0" Name="txtColorName" VerticalAlignment="Top" Width="252" Background="#FFFFFFC8" />
        <Label Content="" Grid.Column="1" Grid.Row="3" Height="23" HorizontalAlignment="Left" Margin="0,2,0,0" Name="lblSampel2" VerticalAlignment="Top" Width="223" BorderBrush="#FF9ABFE5" BorderThickness="1" Background="#FFFFFFC8" />
        <Image Grid.Column="1" Grid.Row="4" Height="50" HorizontalAlignment="Left" Name="imgColorImage" Stretch="UniformToFill" VerticalAlignment="Top" Width="223" Source="/SaryaSolution;component/Images/Tulips.jpg" />
        <Button Content="..." Grid.Column="1" Grid.Row="3" Height="23" HorizontalAlignment="Left" Margin="229,2,0,0" Name="btnBrowseColor" VerticalAlignment="Top" Width="23" />
        <Button Content="..." Grid.Column="1" Grid.Row="4" Height="23" HorizontalAlignment="Left" Margin="229,5,0,0" Name="btnBrowseImage" VerticalAlignment="Top" Width="23" />
        <ComboBox Grid.Column="1" Grid.Row="5" Height="23" HorizontalAlignment="Left" Name="cmbCategoryType" VerticalAlignment="Top" Width="252" Margin="0,3,0,0" Background="#FFFFFFC8">
            <ComboBoxItem Content="قطعة" IsSelected="True" />
            <ComboBoxItem Content="أكسسوار" />
        </ComboBox>
        <DatePicker Grid.Column="1" Grid.Row="6" Height="25" HorizontalAlignment="Left" Name="dtpCreateDate" VerticalAlignment="Top" Width="252" Margin="0,2,0,0" IsEnabled="False" />
        <TextBox Grid.Column="1" Grid.Row="7" Height="100" HorizontalAlignment="Left" Margin="0,2,0,0" Name="txtNote" VerticalAlignment="Top" Width="252" Background="#00000000" MinLines="50" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible" AcceptsTab="True" AcceptsReturn="True" />
        <Button Content="إضافة لون" Grid.Column="1" Grid.Row="8" Height="23" HorizontalAlignment="Left" Margin="96,28,0,0" Name="btnAdd" VerticalAlignment="Top" Width="75" />
        <Button Content="إلغاء الأمر" Grid.Column="1" Grid.Row="8" Height="23" HorizontalAlignment="Left" Margin="177,28,0,0" Name="btnCancel" VerticalAlignment="Top" Width="75" />
    </Grid>
</Window>
